home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000000_news@newsmaster….columbia.edu _Fri Dec 11 22:40:37 1998.msg
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@newsmaster.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA29668
for <kermit.misc@watsun.cc.columbia.edu>; Fri, 11 Dec 1998 22:40:36 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id WAA11677
for kermit.misc@watsun; Fri, 11 Dec 1998 22:40:36 -0500 (EST)
Path: news.columbia.edu!panix!cam-news-hub1.bbnplanet.com!news.gtei.net!news.mathworks.com!nntprelay.mathworks.com!outfeed1.news.cais.net!vnetnews.value.net!not-for-mail
From: Mark Sapiro <msapiro@value.net>
Newsgroups: comp.protocols.kermit.misc
Subject: Re: help with scripting
Date: Fri, 11 Dec 1998 19:37:54 -0800
Organization: Not Very Much
Lines: 25
Message-ID: <3671E512.4303@value.net>
References: <Pine.SGI.4.05.9812101557050.64066-100000@poros.cis.jhu.edu> <74rdgh$l7s$1@apakabar.cc.columbia.edu>
Reply-To: Mark Sapiro <msapiro@value.net>
NNTP-Posting-Host: oak123.value.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.01 (Win95; I)
Xref: news.columbia.edu comp.protocols.kermit.misc:9632
Frank da Cruz wrote:
> ...
> A better consruction for this might be:
>
> undef \%n
> switch \%l {
> :p, def \%n 410-516-2926
> :m, def \%n 410-516-2927
> :l, def \%n 410-516-2928
> :default, stop 1 "\%l": Invalid response
> }
Shouldn't there be 'break' statements in the above.
i.e.
undef \%n
switch \%l {
:p, def \%n 410-516-2926, break
:m, def \%n 410-516-2927, break
:l, def \%n 410-516-2928, break
:default, stop 1 "\%l": Invalid response
}
--
Mark Sapiro <msapiro@value.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan